package com.gthncz.hello.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import com.gthncz.hello.beans.User;

@Mapper
@Component(value = "userMapper")
public interface UserMapper {
	
	public User findyId(long id);
	public User findByName(String name);
	public void deleteById(long id);
	public void deleteByName(String name);
	
}
